package com.ruoyi.jacfile.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 order_model
 *
 * @author ruoyi
 * @date 2020-07-08
 */
public class OrderModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    private Long orderId;

    /** 订单标题 */
    @Excel(name = "订单标题")
    private String orderTitle;

    /** 订单数据来源地址 */
    @Excel(name = "订单数据来源地址")
    private String orderPath;

    /** 是否有二维码（0=无，1=有） */
    @Excel(name = "是否有二维码", readConverterExp = "0==无，1=有")
    private Long qrc;

    /** 是否有条形码（0=无，1=有） */
    @Excel(name = "是否有条形码", readConverterExp = "0==无，1=有")
    private Long barc;

    /** 订单模板名 */
    @Excel(name = "订单模板名")
    private String orderName;

    /** 表1列数 */
    @Excel(name = "表1列数")
    private String columnsTab1;

    /** 表2列数 */
    @Excel(name = "表2列数")
    private String columnsTab2;

    /** 是否有页脚（0=没有，1=有） */
    @Excel(name = "是否有页脚", readConverterExp = "0==没有，1=有")
    private Long foot;

    /** 表格id */
    private Long gridId;

    /** 表格内容 */
    @Excel(name = "表格内容")
    private String gridName;

    /** 表id（0=上表，1=下表） */
    @Excel(name = "表id", readConverterExp = "0==上表，1=下表")
    private Long tableId;

//    /** 对应订单模板id */
//    @Excel(name = "对应订单模板id")
//    private Long orderId;

    /** 表格所在位置(从1开始) */
    @Excel(name = "表格所在位置(从1开始)")
    private Long gridSite;

    /** 表格对应实体类中的字段名 */
    @Excel(name = "表格对应实体类中的字段名")
    private String gridKey;

    private int widths;

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setOrderTitle(String orderTitle)
    {
        this.orderTitle = orderTitle;
    }

    public String getOrderTitle()
    {
        return orderTitle;
    }
    public void setOrderPath(String orderPath)
    {
        this.orderPath = orderPath;
    }

    public String getOrderPath()
    {
        return orderPath;
    }
    public void setQrc(Long qrc)
    {
        this.qrc = qrc;
    }

    public Long getQrc()
    {
        return qrc;
    }
    public void setBarc(Long barc)
    {
        this.barc = barc;
    }

    public Long getBarc()
    {
        return barc;
    }
    public void setOrderName(String orderName)
    {
        this.orderName = orderName;
    }

    public String getOrderName()
    {
        return orderName;
    }
    public void setColumnsTab1(String columnsTab1)
    {
        this.columnsTab1 = columnsTab1;
    }

    public String getColumnsTab1()
    {
        return columnsTab1;
    }
    public void setColumnsTab2(String columnsTab2)
    {
        this.columnsTab2 = columnsTab2;
    }

    public String getColumnsTab2()
    {
        return columnsTab2;
    }
    public void setFoot(Long foot)
    {
        this.foot = foot;
    }

    public Long getFoot()
    {
        return foot;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getGridId() {
        return gridId;
    }

    public void setGridId(Long gridId) {
        this.gridId = gridId;
    }

    public String getGridName() {
        return gridName;
    }

    public void setGridName(String gridName) {
        this.gridName = gridName;
    }

    public Long getTableId() {
        return tableId;
    }

    public void setTableId(Long tableId) {
        this.tableId = tableId;
    }

    public Long getGridSite() {
        return gridSite;
    }

    public void setGridSite(Long gridSite) {
        this.gridSite = gridSite;
    }

    public String getGridKey() {
        return gridKey;
    }

    public void setGridKey(String gridKey) {
        this.gridKey = gridKey;
    }

    public int getWidths() {
        return widths;
    }

    public void setWidths(int widths) {
        this.widths = widths;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("orderTitle", getOrderTitle())
            .append("orderPath", getOrderPath())
            .append("qrc", getQrc())
            .append("barc", getBarc())
            .append("orderName", getOrderName())
            .append("columnsTab1", getColumnsTab1())
            .append("columnsTab2", getColumnsTab2())
            .append("foot", getFoot())
            .append("gridId", getGridId())
            .append("gridName", getGridName())
            .append("tableId", getTableId())
            .append("gridSite", getGridSite())
            .append("gridKey", getGridKey())
            .toString();
    }
}
